<js file="__STATIC__/xheditor/xheditor-1.1.14-zh-cn.min.js"/>
<script type="text/javascript">
    $(function(){
      var url="{:U('Upload/upload_xh','',0)}";
      $('.elem1').xheditor({tools:'full',width:'95%',height:'300px',
                            upLinkUrl:url,upLinkExt:"zip,rar,txt",
                            upImgUrl:url,upImgExt:"jpg,jpeg,gif,png",
                            upFlashUrl:url,upFlashExt:"swf",
                            upMediaUrl:url,upMediaExt:"wmv,avi,wma,mp3,mid",
                            }); 
    });                           
</script>
<textarea class="elem1" name="{$v.tag}"></textarea>